//
//  ZiDongBuHuoListModel.h
//  DA_V
//
//  Created by 中亿世联前台 on 15/5/16.
//  Copyright (c) 2015年 zhouhai. All rights reserved.
//

#import <Foundation/Foundation.h>
@protocol ZiDongBuHuoListModelDelegate<NSObject>
@optional
- (void)getZiDongBuHuoListEnd;              //获取自动补货数据结束
- (void)getZiDongBuHuoInfoListEnd;              //获取自动补货数据信息结束
@end
@interface ZiDongBuHuoListModel : NSObject
@property (nonatomic,copy) NSString *MasterOrderID;           //订单编号
@property (nonatomic,copy) NSString *ThumbPath;               //产品缩略图地址
@property (nonatomic,copy) NSString *ProductID;               //产品ID
@property (nonatomic,copy) NSString *ProductName;             //产品名称
@property (nonatomic,copy) NSString *DiscountAmount;          //折扣价
@property (nonatomic,copy) NSString *TotalAmount;             //总金额
@property (nonatomic,copy) NSString *OriginStock;             //原库存
@property (nonatomic,copy) NSString *AddTime;                 //下单时间

@property (nonatomic,copy) NSString *Profit;                  //盈利

@property (nonatomic,copy) NSString *MakeupStock;             //库存补充
@property (nonatomic,copy) NSString *SaleStock;               //发给下级
@property (nonatomic,copy) NSString *SubAddTime;               //库存来源的下单时间



@property (nonatomic,copy) NSString *SubMasterOrderID;           //库存来源的订单编号
@property (nonatomic,copy) NSString *SubCustomerName;            //来源订单的订货人姓名
@property (nonatomic,copy) NSString *SubTotalAmount;             //来源订单的总金额
@property (nonatomic,copy) NSString *SubDiscountAmount;          //来源订单的折扣价
@property (nonatomic,copy) NSString *Income;                     //收到来自下线进货款
@property (nonatomic,copy) NSString *Outcome;                    //支出进货款
@property (nonatomic,copy) NSString *OutcomeStock;               //支出原库存（换算金额）

@property (nonatomic,weak) id<ZiDongBuHuoListModelDelegate>ziDongBuHuoListModelDelegate;
- (void)getZiDongList:(NSMutableArray *)array parameter:(NSDictionary *)parameter interface:(NSString *)interface;
- (void)getZiDongList:(NSMutableArray *)array parameter:(NSDictionary *)parameter;

- (void)getAddZiDongList:(NSMutableArray *)array parameter:(NSDictionary *)parameter interface:(NSString *)interface;
@end
